package cn.kust.serviceinterestpoint.service;

import cn.kust.serviceinterestpoint.entity.InterestInterest;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author microTourism
 * @since 2022-07-28
 */
public interface InterestInterestService extends IService<InterestInterest> {
    /**
     * 根据城市返回所有兴趣点
     * @param city
     * @return
     */
    List<InterestInterest> getAllInterestsByCity(String city);

    /**
     * 查询返回兴趣点所在城市的列表
     * @return
     */
    List<String> findAllCities();
}
